package com.ease.integration.service;

import com.ease.integration.context.vo.IntegrationServiceContext;

/**
 * 对发往外部的请求进行统一分派
 * 
 * @author nathanleewei
 * 
 */
public interface ExternalServiceDispatcherWrapper {

	/**
	 * <p>
	 * 根据context把请求分派到相应service
	 * <p>
	 * 由service调用外部服务 由于classloader的原因,返回类型设为Object
	 * 
	 * @param serviceIntegrationContext
	 * @return
	 */
	public IntegrationServiceContext doService(IntegrationServiceContext integrationServiceContext);

}
